import http from "./http"
//轮播图数据
export function bannerlist() {
  return http('/home/swiperdata')
}
//导航
export function navlist() {
  return http('/home/catitems')
}
//楼层
export function loucelist() {
  return http('/home/floordata')
}
//左侧菜单
export function leftGet() {
  return http('/categories')
}
//搜索
export function getSearch(query) {
  return http(`/goods/search?query=${query}`)
}
//商品列表
export function GetList(data) {
  return http('/goods/search', data)
}
//详情商品
export function GetListt(data) {
  return http('/goods/detail', data)
}
//
export function shopAip(data) {
  return http('/my/orders/create', {data})
}
//查看支付状态
export function checkOrder(data) {
  return http('/my/orders/chkOrder',data)
}
